
class GisSnInfo {
    int bindType;
    int binderId;
    String binderName;
    int departId;
    String departName;
    int iconId;
    int jobId;
    String jobName;
    int picId;
    String sn;

    GisSnInfo({this.bindType, this.binderId, this.binderName, this.departId, this.departName, this.iconId, this.jobId, this.jobName, this.picId, this.sn});

    factory GisSnInfo.fromJson(Map<String, dynamic> json) {
        return GisSnInfo(
            bindType: json['bindType'], 
            binderId: json['binderId'], 
            binderName: json['binderName'], 
            departId: json['departId'], 
            departName: json['departName'], 
            iconId: json['iconId'], 
            jobId: json['jobId'], 
            jobName: json['jobName'], 
            picId: json['picId'], 
            sn: json['sn'], 
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['bindType'] = this.bindType;
        data['binderId'] = this.binderId;
        data['binderName'] = this.binderName;
        data['departId'] = this.departId;
        data['departName'] = this.departName;
        data['iconId'] = this.iconId;
        data['jobId'] = this.jobId;
        data['jobName'] = this.jobName;
        data['picId'] = this.picId;
        data['sn'] = this.sn;
        return data;
    }
}